package godraines.swing;

public class J23SungJukVO {
	
	private int sjno;
	private String name;
	private int kor;
	private int eng;
	private int mat;
	private int tot;
	private double avg;
	private String grd;
	
	public J23SungJukVO(String name, int kor, int eng, int mat) {
		this.name = name;
		this.kor = kor;
		this.eng = eng;
		this.mat = mat;
	}

	public int getSjno() { return sjno; }
	public void setSjno(int sjno) { this.sjno = sjno; }

	public String getName() { return name; }
	public void setName(String name) { this.name = name; }

	public int getKor() { return kor; }
	public void setKor(int kor) { this.kor = kor; }

	public int getEng() { return eng; }
	public void setEng(int eng) { this.eng = eng; }

	public int getMat() { return mat; }
	public void setMat(int mat) { this.mat = mat; }

	public int getTot() { return tot; }
	public void setTot(int tot) { this.tot = tot; }

	public double getAvg() { return avg; }
	public void setAvg(double avg) { this.avg = avg; }

	public String getGrd() { return grd; }
	public void setGrd(String grd) { this.grd = grd; }
	
	public String toString() {
	StringBuilder sb = new StringBuilder();
	sb.append(sjno).append("/").append(name).append("/").append(kor).append("/").append(eng).append("/").append(mat).append("/")
	.append(tot).append("/").append(avg).append("/")	.append(grd).append("\n");
	return sb.toString();
	}
}
